//== GAIA ============================================================================

//== BEGINNING OF CODE ===============================================================

#include "sagittarius/core/SagittariusCore.h"

#include "sagittarius/unicode/CUnicode.h"
#include "sagittarius/re/reDC.h"
#include "sagittarius/io/io.h"

//#include <stdio.h>
#include <string.h>
#include <malloc.h>

int main(int argc, char* argv[])
{
    RE_CharSet* s = re_createCSRange('a', 'n');
    RE_DerivClass *d, *e, *f;

	d = re_DCSingle(s);
    re_writeDC(1, d);
    SG_WRITE(1, "\n");
    re_destroyCS(s);
    
    s = re_createCSRange('g', 'z');
    e = re_DCSingle(s);
    re_writeDC(1, e);
    SG_WRITE(1, "\n");
    re_destroyCS(s);
    
    f = re_DCMesh(d, e);
    re_writeDC(1, f);
    SG_WRITE(1, "\n");
    
    //wish I could do re_destroyDC(d,e,f);
    re_destroyDC(d);
    re_destroyDC(e);
    re_destroyDC(f);
    
    return 0;
}
